import {
	request
} from '../utlis/http.js'
//登录
export const login = (params) => {
	return request('v1/auth/login', params, 'post')
}
//获取用户信息
export const userInfo = (params) => {
	return request('v1/user/userInfo', params, 'get')
}
//获取验证码
export const handleGetCode = (params) => {
	return request('v1/aliyun/sms', params, 'post')
}
//重置密码
export const retrievePwd = (params) => {
	return request('v1/user/retrievePwd', params, 'post')
}